<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>

<body>

<table border="1"><tbody id="tbody">XXX<tr><td>TD</td></tr></tbody></table>

<script>
document.body.offsetWidth;
document.getElementById("tbody").firstChild.data = '';
</script>

</body>
</html>
